home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
porttool.zoo
/
du.man
< prev
next >
Wrap
Text File
|
1992-12-03
|
2KB
|
59 lines
NNAAMMEE
du - summarize disk usage
SSYYNNOOPPSSIISS
dduu [_-_a_h_r_s] [_n_a_m_e_ _._._.]
DDEESSCCRRIIPPTTIIOONN
dduu prints the number of kilobytes contained in all files and
directories within the specified name. dduu searches the specified
directory and all subdirectories. If a name is not specified, the
default is the current directory (.).
This command is useful when disk space becomes a problem. dduu can
be used to find the largest obsolete files for efficient removal.
OOPPTTIIOONNSS
All options are mutually exclusive.
--aa generates a listing for all files.
--hh displays a short help message.
--rr suppresses error reporting.
--ss prints the total number of kilobytes occupied.
_n_a_m_e specifies file or directory.
EEXXAAMMPPLLEESS
C:> du /include
4 /include/sys
101 /include
dduu prints the number of kilobytes used by the specified directory
//iinncclluuddee and by the subdirectory ssyyss.
C:> du -s /include
101 /include
dduu --ss prints the total kilobytes used by the specified directory.
C:> du -a /include/sys
1 /include/sys/stat.h
1 /include/sys/timeb.h
1 /include/sys/types.h
4 /include/sys
dduu --aa prints the number of kilobytes used by all files and
directories within the specified directory.
SSPPEECCIIAALL CCOONNSSIIDDEERRAATTIIOONNSS
If the --aa option is not used, nondirectories given as arguments are
not listed.
SSEEEE AALLSSOO
df(1)
CCooppyyrriigghhtt ((cc)) FFrraannkk WWhhaalleeyy 11999922.. AAllll rriigghhttss rreesseerrvveedd..